<table class="xsui-table xsui-table-striped xsui-table-hover xsui-table-bordered">
    <thead>
        <tr>
            <th>标题</th>
            <th>文件名称</th>
            <th>预览图</th>
            <th>文件大小</th>
            <th>文件扩展名</th>
            <th>宽度(像素)</th>
            <th>高度(像素)</th>
            <th>浏览次数</th>
            <th>点击次数</th>
            <th>生效时间</th>
            <th>失效时间</th>
            <th>备注</th>
            <th>排序</th>
            <th>状态</th>
            <th>创建时间</th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody>
    <foreach name="list" item="vo">
        <tr data-key="{$vo.id}">
            <td><a href="{:U('content_edit','id='.$vo['id'])}" class="xsui-lnk-edit-dialog" data-id="{$vo.id}" title="编辑 {$vo.title}">{$vo.title}</a></td>
            <td>{$vo.file_name}</td>
            <td><a href="{$vo.file_path}" target="_blank" title="{$vo.file_path}"><img src="{$vo.file_path}" alt="" class="thumb" /></a></td>
            <td>{$vo.file_size}</td>
            <td>{$vo.file_ext}</td>
            <td>{$vo.image_width}</td>
            <td>{$vo.image_height}</td>
            <td>{$vo.visit_count}</td>
            <td>{$vo.click_count}</td>
            <td>{$vo.begin_time}</td>
            <td>{$vo.end_time}</td>
            <td>{$vo.remark}</td>
            <td class="sort"><input type="text" value="{$vo.sort}" size="3" data-value="{$vo.sort}" data-url="{:U('change_sort','id='.$vo['id'].'&sort=varsort')}" /></td>
            <td>{$vo.status|sofn_get_state_text='user-state',###}</td>
            <td>{$vo.create_time}</td>
            <td>
                <ul class="xsui-operate-group">
                    <li><a href="#" class="xsui-btn ui-state-default xsui-icon-right">操作<i class="fa fa-caret-square-o-down"></i></a>
                        <ul>
                            <li><a href="{:U('content_edit','id='.$vo['id'])}" class="xsui-lnk-edit-dialog" data-id="{$vo.id}" title="编辑 {$vo.title}"><i class="fa fa-edit fa-fw"></i>编辑</a></li>
                            <li><a href="{:U('content_delete','id='.$vo['id'])}" class="xsui-lnk-remove" data-id="{$vo.id}" title="删除 {$vo.title}"><i class="fa fa-remove fa-fw"></i>删除</a></li>
                        </ul>
                    </li>
                </ul>
            </td>
        </tr>
    </foreach>
</tbody>
</table>
<div class="xsui-pagination">{$page}</div>